package com.itheima.controll;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 罗明伟
 * @DateFormat Yes Good
 * @Content java
 */
@RestController
@RequestMapping("/hello")
public class HelloControll {

    @GetMapping
    public String hello(){
        System.out.println("hello world...");
        return "OK";
    }
}
